package com.pandora.credit.mongo.dao;

import com.pandora.credit.mongo.entity.MongoPandoraCredit;
import java.util.List;

/**
 * @author developer
 */
public interface MongoPandoraCreditDao {
    /**
     * selectByIds
     * @param ids ids
     * @return List<MongoPandoraCredit>
     */
    public List<MongoPandoraCredit> selectByIds(List<Long> ids);

    /**
     * selectByType
     * @param type type
     * @return MongoPandoraCredit
     */
    public MongoPandoraCredit selectByType(int type);

    /**
     * selectByTypeIds
     * @param type type
     * @param ids ids
     * @return List<MongoPandoraCredit>
     */
    public List<MongoPandoraCredit> selectByTypeIds(int type, List<Long> ids);

    /**
     * selectById
     * @param id id
     * @return MongoPandoraCredit
     */
    public MongoPandoraCredit selectById(long id);

}
